package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.project.EntityZone;

public interface IEntityZoneDao {
	public EntityZone queryById(long id);

	public EntityZone queryByName(String name);

	public List<EntityZone> queryByList();
	
	public void save(EntityZone entityZone);

	public EntityZone update(EntityZone entityZone);

	public void delete(EntityZone entityZone);
	
	public List<EntityZone> queryByProject(long projectId);

	public EntityZone queryByProjectAndName(long projectId, String name);
	
	public List<EntityZone> queryByCategory(long categoryId);
}
